package com.whj.serviceorder.service;

import com.whj.internalcommon.dto.ResponseResult;
import com.whj.internalcommon.request.OrderRequest;
import com.whj.serviceorder.entity.OrderInfo;

import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whj
 * @since 2023-01-28
 */
public interface OrderInfoService {

    ResponseResult orderAdd(OrderRequest orderRequest);

    int dispatchRealTimeOrder(OrderInfo orderInfo);

    ResponseResult toPickUpPassenger(OrderRequest orderRequest);

    ResponseResult arriveDeparture(OrderRequest orderRequest);

    ResponseResult pickUpPassenger(OrderRequest orderRequest);

    ResponseResult passengerGetOff(OrderRequest orderRequest);

    ResponseResult pay(OrderRequest orderRequest);

    ResponseResult cancel(Long orderId, String identity);

    ResponseResult pushPay(OrderRequest orderRequest);

    ResponseResult<OrderInfo> detail(Long orderId);

    ResponseResult current(String phone, String identity);
}
